&lt;!DOCTYPE html&gt;
&lt;html&gt;

&lt;head&gt;

    &lt;meta charset="utf-8"&gt;
    &lt;meta name="viewport" content="width=device-width, initial-scale=1.0"&gt;
    &lt;meta http-equiv="X-UA-Compatible" content="IE=edge"&gt;

    &lt;title langtag="title-admin"&gt;&lt;/title&gt;

    
    
    &lt;link href="{{.web_base_url}}/static/css/fontawesome.min.css" rel="stylesheet"&gt;
    &lt;link href="{{.web_base_url}}/static/css/solid.min.css" rel="stylesheet"&gt;
    &lt;link href="{{.web_base_url}}/static/css/bootstrap.min.css" rel="stylesheet"&gt;
    &lt;link href="{{.web_base_url}}/static/css/bootstrap-table.min.css" rel="stylesheet"&gt;
    &lt;link href="{{.web_base_url}}/static/css/style.css" rel="stylesheet"&gt;

    
    &lt;script src="{{.web_base_url}}/static/js/jquery-3.4.1.min.js"&gt;&lt;/script&gt;
    &lt;script src="{{.web_base_url}}/static/js/popper.min.js"&gt;&lt;/script&gt;
    &lt;script src="{{.web_base_url}}/static/js/bootstrap.min.js"&gt;&lt;/script&gt;
    &lt;script src="{{.web_base_url}}/static/js/bootstrap-table.min.js"&gt;&lt;/script&gt;
    &lt;script src="{{.web_base_url}}/static/js/bootstrap-table-locale-all.min.js"&gt;&lt;/script&gt;
    &lt;script src="{{.web_base_url}}/static/js/echarts.min.js"&gt;&lt;/script&gt;
    &lt;script src="{{.web_base_url}}/static/js/inspinia.js"&gt;&lt;/script&gt;
    
    &lt;script src="{{.web_base_url}}/static/js/language.js" type="text/javascript"&gt;&lt;/script&gt;

&lt;/head&gt;

&lt;body class="pace-done fixed-nav fixed-nav-basic"&gt;
<div>
    &lt;nav class="navbar-default navbar-static-side" role="navigation"&gt;
        <div class="sidebar-collapse">
            <ul class="nav metismenu">
                <li class="nav-header">
                    <div class="dropdown profile-element">
                    {{if eq true .isAdmin}}
                        <span><i class="fa fa-user-cog fa-3x"></i></span>
                        <span class="clear"> <span class="block m-t-xs"><strong class="font-bold"></strong></span>
                        <span class="text-muted text-xs block">
                    {{else}}
                        <span><i class="fa fa-user fa-3x"></i></span>
                        <span class="clear"> <span class="block m-t-xs"><strong class="font-bold">{{.username}}</strong></span>
                        <span class="text-muted text-xs block">
                    {{end}}
                        </span>
                    </div>
                    <div class="logo-element"></div>
                </li>
                <li class="{{if eq">
                    <a href><i class="fa fa-tachometer-alt fa-lg"></i>
                    <span class="nav-label"></span></a>
                </li>
                <li class="{{if eq">
                    <a href><i class="fa fa-desktop fa-lg"></i>
                    <span class="nav-label"></span></a>
                </li>
                <li class="{{if eq">
                    <a href><i class="fa fa-globe fa-lg"></i>
                    <span class="nav-label"></span></a>
                </li>
                <li class="{{if eq">
                    <a href><i class="fa fa-retweet fa-lg"></i>
                    <span class="nav-label"></span></a>
                </li>
                <li class="{{if eq">
                    <a href><i class="fa fa-random fa-lg"></i>
                    <span class="nav-label"></span></a>
                </li>
                <li class="{{if eq">
                    <a href><i class="fa fa-server fa-lg"></i>
                    <span class="nav-label"></span></a>
                </li>
                <li class="{{if eq">
                    <a href><i class="fa fa-layer-group fa-lg"></i>
                    <span class="nav-label"></span></a>
                </li>
                <li class="{{if eq">
                    <a href><i class="fa fa-low-vision fa-lg"></i>
                    <span class="nav-label"></span></a>
                </li>
                <li class="{{if eq">
                    <a href><i class="fa fa-exchange-alt fa-lg"></i>
                    <span class="nav-label"></span></a>
                </li>
                <li class="{{if eq">
                    <a href><i class="fa fa-briefcase fa-lg"></i>
                    <span class="nav-label"></span></a>
                </li>
                <li class="{{if eq">
                    <a href="https://ehang.io/nps/documents" target="_blank"><i class="fa fa-lightbulb fa-lg"></i>
                    <span class="nav-label"></span></a>
                </li>
            </ul>
        </div>
    &lt;/nav&gt;
    <div class="gray-bg">
        <div class="row border-bottom">
            &lt;nav class="navbar white-bg navbar-fixed-top" role="navigation" style="margin-bottom: 0"&gt;

                <div class="navbar-header">
                    <a class="navbar-minimalize minimalize-styl-2 btn btn-primary" href="#"><i class="fa fa-bars"></i></a>
                </div>
                <ul class="nav navbar-top-links navbar-right">
                    <li>
                        <span class="m-r-sm text-muted welcome-message"><span></span>
                        <a href="https://ehang.io/nps"></a></span>
                    </li>
                    <li>
                        <span class="btn-group dropdown">
                            &lt;button id="languagemenu" class="btn btn-primary dropdown-toggle" type="button" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false"&gt;<i class="fa fa-globe-asia fa-lg"></i><span></span>&lt;/button&gt;
                            <ul class="dropdown-menu"></ul>
                        </span>
                    </li>
                    <li>
                        <a href>
                            <i class="fa fa-sign-in-alt"></i><span></span>
                        </a>
                    </li>
                </ul>
            &lt;/nav&gt;
        </div>

    {{.LayoutContent}}

        <div class="footer fixed">
            <div class="float-right">
                <span></span> <strong><a href="https://ehang.io/nps"></a></strong>
            </div>
            <div><strong></strong> <span></span> &copy; 2018-2020</div>
        </div>
    </div>
</div>

&lt;/body&gt;
&lt;/html&gt;

&lt;script&gt;
    window.nps = { "web_base_url": {{.web_base_url}} }
/*     googleTranslateElementInit()
    
     function googleTranslateElementInit() {
         new google.translate.TranslateElement({
             layout: google.translate.TranslateElement.InlineLayout.HORIZONTAL
         }, 'wrapper');
     }
*/
&lt;/script&gt;
{{/*&lt;script src="http://translate.google.com/translate_a/element.js?cb=googleTranslateElementInit"&gt;&lt;/script&gt;*/}}

